package com.lilosoft.business.cga.dao;

import com.lilosoft.business.cga.models.CgaCaseMaterial;
import com.lilosoft.business.cga.models.CgaCaseMaterialExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CgaCaseMaterialMapper {
    long countByExample(CgaCaseMaterialExample example);

    int deleteByExample(CgaCaseMaterialExample example);

    int deleteByPrimaryKey(String id);

    int insert(CgaCaseMaterial record);

    int insertSelective(CgaCaseMaterial record);

    List<CgaCaseMaterial> selectByExample(CgaCaseMaterialExample example);

    CgaCaseMaterial selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CgaCaseMaterial record, @Param("example") CgaCaseMaterialExample example);

    int updateByExample(@Param("record") CgaCaseMaterial record, @Param("example") CgaCaseMaterialExample example);

    int updateByPrimaryKeySelective(CgaCaseMaterial record);

    int updateByPrimaryKey(CgaCaseMaterial record);
}